﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
    /// <summary>
    ///安全风险业务风险清单管控措施表
    /// </summary>
    public class srb_main_risk_measure
    {
        /// <summary>
        ///唯一编码
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        ///二级单位名称--
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        ///二级单位编码--
        /// </summary>
        public string CompanyNo { get; set; }

        /// <summary>
        ///措施编号
        /// </summary>
        public string MeasureNo { get; set; }

        /// <summary>
        ///风险编号（关联srb_main_risk）
        /// </summary>
        public string RiskNo { get; set; }

        /// <summary>
        ///措施基元编号（关联rsk_measure）
        /// </summary>
        public string MeasureBaseNo { get; set; }

        /// <summary>
        ///管控措施
        /// </summary>
        public string Measure { get; set; }

        /// <summary>
        ///管控周期
        /// </summary>
        public string Period { get; set; }

        /// <summary>
        ///管控周期单位
        /// </summary>
        public string PeriodUnit { get; set; }

        /// <summary>
        ///检查方式
        /// </summary>
        public string CheckMethod { get; set; }

        /// <summary>
        ///直接管理人
        /// </summary>
        public string Administrator { get; set; }

        /// <summary>
        ///责任部门
        /// </summary>
        public string AdminDept { get; set; }

        /// <summary>
        ///监督管理人
        /// </summary>
        public string Supervisor { get; set; }

        /// <summary>
        ///监督管理部门
        /// </summary>
        public string SupervisionDept { get; set; }

        /// <summary>
        ///状态：启用/停用
        /// </summary>
        public string State { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreatedOn { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime? ModifiedOn { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string TenantId { get; set; }

        /// <summary>
        ///排序
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        ///是否删除（本系统逻辑删除)
        /// </summary>
        public bool? Deleted { get; set; }

    }
}